ColumnRenderAs Enumeration

Specifies how to render the a column defined by a ColumnDefinition.

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public enum ColumnRenderAs

Members
Name Description
Default

Render the column as a string, converted from the column specified by ColumnDefinition.ViewColumnName.

LearnerAssignmentStatus

Render the status of a learner assignment. The column specified by ColumnDefinition.ViewColumnName must contain a bool value: true if the learner assignment has been completed, false if not. The column specified by ColumnDefinition.ViewColumnName2 must contain the AttemptStatus of the learner assignment.

Link

Render a link to another page. The column specified by ColumnDefinition.ViewColumnName must contain the title of the link, and the column specified by ColumnDefinition.ViewColumnName2 must contain the LearningStoreItemIdentifier of the information to display in the linked-to page.

ScoreAndPossible

Render the number of points the learner received (if applicable) and the number of points possible for the assignment (if applicable); for example, "7/10". The column specified by ColumnDefinition.ViewColumnName must contain the number of points the learner received (e.g. FinalPoints column in LearnerAssignmentLearnerView); this value may be NULL if the assignment does not award points, or if the assignment hasn't been graded. The column specified by ViewColumnName2 must contain the nominal maximum number of points that learners may receive on the assignment (e.g. AssignmentPointsPossible column in LearnerAssignmentLearnerView); may be NULL if not applicable.

SPWebName

Render the name of an SPWeb. The column specified by ColumnDefinition.ViewColumnName must contain the SPWeb GUID, and the column specified by ColumnDefinition.ViewColumnName2 must contain the SPSite GUID.

Submitted

Render the number of learner assignments submitted and the number of learner assignments for the assignment; for example, "10/12". Each value is an integer. Neither value can be NULL.

UtcAsLocalDateTime

Render the column as a string, converted from the column specified by ColumnDefinition.ViewColumnName, which must be a date/time value represented in the UTC (GMT) time zone. The date/time is converted to local time for display purposes.